package org.tourism.service;

import org.tourism.entity.Hotel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuling
 * @since 2024-07-05
 */
public interface HotelService extends IService<Hotel> {
    int insertHotel(Hotel hotel);
    int updateHotel(Hotel hotel);
    int deleteHotel(Hotel hotel);
    Hotel getHotelById(int id);
    Hotel getHotelByName(String hotelName);
    Hotel getHotelByLocation(String hotelLocation);
    List<Hotel> getAllHotels();
}
